package com.xiaomaoguai.cloud.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author August.Zhang
 * @version v1.0.0
 * @date 2020/1/6 19:55
 * @since JDK 1.8
 */
@FeignClient(name = "jaeger-provider-user")
public interface UserFeign {

	@GetMapping("/simple/{id}")
	String findById(@PathVariable Long id);

}
